﻿using System.Configuration;

namespace OZDoo.Core.Providers
{
    /// <summary>
    /// 提供者配置节类
    /// </summary>
    public class ProviderConfiguration:ConfigurationSection
    {
        /// <summary>
        /// 代表了提供者一节。Represents the "providers" section.
        /// </summary>
        [ConfigurationProperty("providers")]
        public ProviderSettingsCollection Providers
        {
            get
            {
                return (ProviderSettingsCollection)base["providers"];
            }
        }

        /// <summary>
        /// 代表了默认提供者Represents the "default" section for default provider.
        /// </summary>
        [ConfigurationProperty("default")]
        public string Default
        {
            get
            {
                return (string)base["default"];
            }
            set
            {
                base["default"] = value;
            }
        }

    }
}
